<template>
  <div>ceshi组件 <button @click="fn">按钮</button></div>
</template>

<script>
import EventBus from "@/EventBus";
export default {
  name: "MyCeshi",
  data() {
    return {};
  },
  methods: {
    fn() {
      EventBus.$emit("my-event", 400);
    },
  },
};
</script>

<style scoped></style>
